package com.learnlogincheck.learnlogincheck.utils;



import java.util.List;

public class Result {
    String message;
    List<Object> list;
    String value;
    String token;

    public Result() {
    }

    public Result(String message, String value) {
        this.message = message;
        this.value = value;
    }

    public Result(String message, List<Object> list, String value,String token) {
        this.message = message;
        this.list = list;
        this.value = value;
        this.token=token;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }


    public List<Object> getList() {
        return list;
    }

    public void setList(List list) {
        this.list = list;
    }

    @Override
    public String toString() {
        return "Result{" +
                "message='" + message + '\'' +
                ", value=" + value +
                ", list=" + list +
                ", token=" + token +
                '}';
    }
}
